package com.exercise;

public class PhoneB extends Phone {
    double discount;
    String model;
    public void desc(){
        super.desc();
        System.out.println("手机的机型是："+ this.model);
    }

    @Override
    public void newPrice() {
        System.out.println("新的价格是：" + this.getPrice() * this.discount);
    }
}
